<li class="clearfix pLi" >
    <input name="cm[1][sort][]" class="form-control sort" style="width: 30px;" value="{$cm.sort}">
    <div class="pull-left nav_list">

        <select name="cm[1][type][]" class="form-control nav-type" style="width: 150px;" >
            <php>foreach($type as $k=>$v){</php>
            <option value="{$k}" <if condition="$k eq $cm['type']">selected</if> >{$v}</option>
            <php>}unset($k,$v)</php>
        </select>

        <input name="cm[1][title][]" placeholder="请输入标题" class="form-control title" style="width: 100px;" value="{$cm.title}">
        <input name="cm[1][keyword][]" placeholder="请输入关键词"   class="form-control keyword" style="width: 200px;" value=" {$cm.keyword}">
        <input name="cm[1][url][]" placeholder="请输入链接"   class="form-control url" style="width: 300px;" value=" {$cm.url}">
        <input name="cm[1][token][]" placeholder=""   class="form-control title" style="width: 100px;display: none" value={:get_token()}>
        <input name="cm[1][status][]" placeholder=""   class="form-control title" style="width: 30px;display: none" value="{$cm.status}">
    </div>


    <div class='pull-left i-list'>

        <a href="javascript:" title="添加一级菜单" class="add-one"><i class="icon icon-plus"></i></a>
        <a href="javascript:"  title="移除此菜单" class="remove-li"><i class="icon icon-remove"></i></a>
        <a href="javascript:" title="添加子菜单" class="add-child"><i class="icon icon-sitemap"></i></a>
        <a href="javascript:" title="移动菜单排序"><i class="icon icon-move sort-handle-1"></i></a>
    </div>


<php>if($cm['child']){</php>
    <div class="clearfix"></div>
    <ul class="ul-2"  style="display: block;">
        <volist name="cm['child']" id="child">
            <include file="_child"/>
        </volist>
    </ul>

 <php>}</php>
</li>
